package main

import (
	"cross-shard-channel/ledger"
	"log"
	"net/http"
)

func main() {
	mux := ledger.ServerMuxInit()


	println("开始监听9000端口")
	if err := http.ListenAndServe("0.0.0.0:9000", mux); err != nil {
		log.Fatal("ListenAndServe: ", err)
	}
}